package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.network.serverpackets.ItemList;

/**
 * This class ...
 *
 * @version $Revision: 1.3.4.3 $ $Date: 2005/03/27 15:29:30 $
 */
public final class RequestItemList extends L2GameClientPacket {
	private static final String _C__70_REQUESTITEMLIST = "[C] 0x70 RequestItemList";

	@Override
	protected void readImpl() {
		// trigger
	}

	@Override
	protected void runImpl() {
		if (getClient() != null && getClient().getActiveChar() != null) {
			ItemList il = new ItemList(getClient().getActiveChar(), true);
			sendPacket(il);
		}
	}

	/* (non-Javadoc)
	 * @see com.l2jserver.gameserver.clientpackets.ClientBasePacket#getType()
	 */
	@Override
	public String getType() {
		return _C__70_REQUESTITEMLIST;
	}
}
